const mongoose = require('mongoose')
const Schema = mongoose.Schema
const { ObjectId, Date, Array } = Schema.Types

const Message = Schema({
    msgid: ObjectId,
    title: String,
    description: String,
    avatar: String,
    html: String,
    readIt: Array,
    time: Date
})

module.exports = Message
